//
//  PersonalViewController.m
//  DirectMember
//
//  Created by jzd on 2018/6/20.
//  Copyright © 2018年 宋佳. All rights reserved.
//

#import "PersonalViewController.h"
#import "MemberController.h" // 会员列表
#import "ReplacePwdController.h"//修改密码
#import "AllMoneyController.h" //奖金汇总
#import "TransferController.h"//转账
#import "CanBuyCoinVC.h"//买入货币
#import "SellCoinVC.h"//卖出货币
#import "mineButton.h"

@interface PersonalViewController ()

@end

@implementation PersonalViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
-(void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navigationController setNavigationBarHidden:YES animated:NO];
}
-(void)viewWillDisappear:(BOOL)animated{
    [super viewWillDisappear:animated];
    [self.navigationController setNavigationBarHidden:NO animated:NO];
}
- (IBAction)toolButtonOnClick:(UIButton *)sender {
    if (sender.tag == 10) {
        
    }else{
        TransferController *vc = [[TransferController alloc]init];
        [self.navigationController pushViewController:vc animated:YES];
    }
}
- (IBAction)collButtonOnClick:(mineButton *)sender {
    switch (sender.tag) {
        case 100:
        {
            AllMoneyController *vc = [[AllMoneyController alloc]init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 101:
        {
            ;
        }
            break;
        case 102:
        {
            ;
        }
            break;
        case 103:
        {
            CanBuyCoinVC *vc = [[CanBuyCoinVC alloc]init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 104:
        {
            SellCoinVC *vc = [[SellCoinVC alloc]init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 105:
        {
            ReplacePwdController *vc = [[ReplacePwdController alloc]init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        case 106:
        {
            MemberController *vc = [[MemberController alloc]init];
            [self.navigationController pushViewController:vc animated:YES];
        }
            break;
        default:
            break;
    }
    
}



@end
